<!DOCTYPE html>
<html lang="en">
<?php
include_once("u_checkLogin.php");
include_once("u_getLoginInfo.php");
?>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="../public/pic/f.png" type="image/x-icon">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>动物家宠物医院</title>
    <link rel="stylesheet" href="../public/css/bootstrap.min.css">
    <link rel="stylesheet" href="../public/css/user_public.css">
    <script src="../public/js/bootstrap.bundle.min.js"></script>
    <link rel="stylesheet" href="css/user_index.css">
</head>

<body>
    <!-- 头部信息开始 -->
    <header>
        <nav class="nav-top">
            <!-- 网站logo -->
            <div class="logo">
                <img src="../public/pic/logo-h-w.png" alt="动物家宠物医院">
            </div>
            <!-- 登录者信息 -->
            <div class="user-info">
                <div class="user-info-con">
                    <span>现在时间：<span id="nowtime"></span></span>
                    <script src="../public/js/getnowtime.js"></script>
                    <br>
                    <span>当前登录：<name>
                            <?php echo $userName; ?>
                        </name></span>
                </div>
                <a href="u_logout.php">点我退出</a>
        </nav>
    </header>
    <!-- 头部信息结束 -->

    <!-- 主要内容开始 -->
    <main>
        <!-- 网页导航开始 -->
        <nav>
            <ul class="nav nav-tabs nav-main">
                <li class="nav-item nav-main-item">
                    <a class="nav-link active" aria-current="page" href="user_index.php">主页</a>
                </li>
                <li class="nav-item nav-main-item">
                    <a class="nav-link" href="user_nowOrder.php">我的预约</a>
                </li>
                <li class="nav-item nav-main-item">
                    <a class="nav-link" href="user_myinfo.php">我的信息</a>
                </li>
            </ul>
        </nav>
        <!-- 网页导航结束 -->

        <!-- 轮播图开始 -->
        <div class="carousel-box">
            <div id="carouselExampleCaptions" class="carousel slide" data-bs-ride="carousel">
                <?php include_once("u_getCarousel.php"); ?>
                <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions"
                    data-bs-slide="prev">
                    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                    <span class="visually-hidden">Previous</span>
                </button>
                <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions"
                    data-bs-slide="next">
                    <span class="carousel-control-next-icon" aria-hidden="true"></span>
                    <span class="visually-hidden">Next</span>
                </button>
            </div>
        </div>
        <!-- 轮播图结束 -->

        <!-- 医院详情展示开始 -->
        <div class="hospital-info-div">
            <!-- 医生简介开始 -->
            <div class="docs-info">
                <h2>医 生 简 介</h2>
                <div class="docs-info-pic">
                    <div class="doc-info-pic-item" style="display: block;">
                        <div class="doc-pic-div">
                            <img src="../public/pic/doc_info/李志.png">
                        </div>
                        <div class="doc-info-div">
                            <h1>李 志</h1>
                            <h3>-北京农业职业学院畜牧兽医系宠物医学教授-</h3>
                            <div class="line"></div>
                            <p class="lead">北京农业职业学院畜牧兽医系宠物医学专业主任、教授</p>
                            <p class="lead">中国畜牧兽医学会中兽医分会理事</p>
                            <p class="lead">中国兽医协会宠物诊疗分会理事</p>
                            <p class="lead">北京小动物诊疗行业协会常务理事</p>
                        </div>
                    </div>
                    <div class="doc-info-pic-item">
                        <div class="doc-pic-div">
                            <img src="../public/pic/doc_info/刘欣.png">
                        </div>
                        <div class="doc-info-div">
                            <h1>刘 欣</h1>
                            <h3>-中国农业大学临床兽医博士-</h3>
                            <div class="line"></div>
                            <p class="lead">皮肤科专家</p>
                            <p class="lead">北京农学院硕士导师</p>
                            <p class="lead">北京市宠物医师继续教育特聘讲师</p>
                            <p class="lead">北京市杰出青年兽医奖及北京市兽医行业特殊贡献奖获得者</p>
                        </div>
                    </div>
                    <div class="doc-info-pic-item">
                        <div class="doc-pic-div">
                            <img src="../public/pic/doc_info/邱志钊.png">
                        </div>
                        <div class="doc-info-div">
                            <h1>邱 志 钊</h1>
                            <h3>-中国农业大学临床兽医博士-</h3>
                            <div class="line"></div>
                            <p class="lead">内科专家</p>
                            <p class="lead">北京小动物医师大会特邀讲师</p>
                            <p class="lead">北京农业职业学院外聘讲师</p>
                            <p class="lead">北京小动物诊疗行业协会宠物医师</p>
                        </div>
                    </div>
                    <div class="doc-info-pic-item">
                        <div class="doc-pic-div">
                            <img src="../public/pic/doc_info/李晋飞.png">
                        </div>
                        <div class="doc-info-div">
                            <h1>李 晋 飞</h1>
                            <h3>-兽医硕士-</h3>
                            <div class="line"></div>
                            <p class="lead">中国兽医协会宠物诊疗分会理事</p>
                            <p class="lead">中国畜牧兽医学会小动物医学分会眼科专科小组委员</p>
                            <p class="lead">第三届广东省宠物行业发展高峰论坛特聘讲师</p>
                            <p class="lead">第五届华南小动物医师大会优秀青年兽医师</p>
                            <p class="lead">第三届小动物医师大会优秀青年兽医师</p>
                        </div>
                    </div>
                    <div class="doc-info-pic-item">
                        <div class="doc-pic-div">
                            <img src="../public/pic/doc_info/刘朗.png">
                        </div>
                        <div class="doc-info-div">
                            <h1>刘 朗</h1>
                            <h3>-中国农业大学临床兽医博士-</h3>
                            <div class="line"></div>
                            <p class="lead">口腔科专家</p>
                            <p class="lead">中国农业大学临床兽医博士</p>
                            <p class="lead">高级兽医师职称</p>
                            <p class="lead">北京市小动物诊疗行业协会会长</p>
                            <p class="lead">亚洲小动物兽医师协会(FASAVA)主席</p>
                        </div>
                    </div>
                </div>
                <div class="doc-info-li">
                    <ul>
                        <li class="doc-li-current">
                            <img src="../public/pic/doc_info/李志-s.png">
                        </li>
                        <li>
                            <img src="../public/pic/doc_info/刘欣-s.png">
                        </li>
                        <li>
                            <img src="../public/pic/doc_info/邱志钊-s.png">
                        </li>
                        <li>
                            <img src="../public/pic/doc_info/李晋飞-s.png">
                        </li>
                        <li>
                            <img src="../public/pic/doc_info/刘朗-s.png">
                        </li>
                    </ul>
                </div>
            </div>
            <!-- 医生简介结束 -->
            <script src="js/u_docs-info-control.js"></script>
        </div>
        <!-- 医院详情展示结束 -->

        <!-- 宠物健康知识开始 -->
        <div class="pet-tips-div">
            <h2>宠 物 健 康 知 识</h2>
            <div class="pet-tips-content">
                <div class="tip-content">
                    <div class='tip-list'>
                        <h4>最 新 发 布</h4>
                        <ol class='tip-list-ol'>
                            <?php include_once("u_getTipsDate.php"); ?>
                        </ol>
                    </div>
                    <div class='tip-list'>
                        <h4>最 多 点 击</h4>
                        <ol class='tip-list-ol'>
                            <?php include_once("u_getTipsClick.php"); ?>
                        </ol>
                    </div>
                </div>
                <div class="leave-content">
                    <h4>提 问 墙</h4>
                    <form action="u_submitLeaveMsg.php" class="leave-content-form" method="post">
                        <textarea name="leaveMsg" maxlength="50" minlength="15" cols="30" rows="10"
                            placeholder="请输入您的问题,15-50个字..." required></textarea>
                        <button type="submit">提 问</button>
                        <button type="reset">清 空</button>
                    </form>
                </div>
            </div>
        </div>
        <!-- 宠物健康知识结束 -->
    </main>
    <!-- 主要内容结束 -->

    <!-- 底部开始 -->
    <footer>
        <p>&copy; 2025 ANIMAL HOME PET HOSPITAL. All rights reserved.</p>
    </footer>
    <!-- 底部结束 -->
</body>

</html>